@model Campus.Entities.Pago

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.FechaDePago)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.FechaDePago)
		@Html.ValidationMessageFor(model => model.FechaDePago)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Monto)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Monto)
		@Html.ValidationMessageFor(model => model.Monto)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Notas)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Notas)
		@Html.ValidationMessageFor(model => model.Notas)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
    Actividad
</div>
<div class="controls">
    @Html.DropDownListFor(model => model.ActividadId, ((IEnumerable<Campus.Entities.Actividad>)ViewBag.PossibleActividads).Select(option => new SelectListItem {
        Text = (option == null ? "None" : option.Nombre), 
        Value = option.ActividadId.ToString(),
        Selected = (Model != null) && (option.ActividadId == Model.ActividadId)
    }), "Elegir...")
    @Html.ValidationMessageFor(model => model.ActividadId)
</div>
</div>
